package com.mes.cloud.api.dto.request.employee;

import java.io.Serializable;
import java.util.Date;

import lombok.Data;
import io.swagger.annotations.ApiModelProperty;

import javax.persistence.*;

/**
 * 系统用户表
 *
 * @author Mr.zhang
 * @version 2019-07-31 10:42:39
 * @email 407892370@qq.com
 */
@Data
public class BaseEmployeePageRequest implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "当前页", required = true)
    private int currentPage;

    @ApiModelProperty(value = "每页条数", required = true)
    private int pageSize;

    @ApiModelProperty(value = "员工类型（0:非正式员工，1：正式员工）", required = false)
    private String type;

    @ApiModelProperty(value = "主要组织ID", required = false)
    private String mainOrganizationId;

    @ApiModelProperty(value = "主要组织名", required = false)
    private String mainOrganizationName;

    @ApiModelProperty(value = "状态(0：禁用，1：启用)", required = false)
    private String enableFlag;

    @ApiModelProperty(value = "员工状态（0：离职，1：在职）", required = false)
    private String status;

    @ApiModelProperty(value = "工号或姓名", required = false)
    private String queryString;

    @ApiModelProperty(value = "组织ID", required = false)
    private String organizationId;

}
